package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 国家信息对象 dic_country
 *
 * @author xuefk
 * @date 2023-04-04
 */
public class DicCountry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 中文名称 */
    @Excel(name = "中文名称")
    private String countryCn;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String countryEn;

    /** 国家二字码 */
    @Excel(name = "国家二字码")
    private String countryCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCountryCn(String countryCn)
    {
        this.countryCn = countryCn;
    }

    public String getCountryCn()
    {
        return countryCn;
    }
    public void setCountryEn(String countryEn)
    {
        this.countryEn = countryEn;
    }

    public String getCountryEn()
    {
        return countryEn;
    }
    public void setCountryCode(String countryCode)
    {
        this.countryCode = countryCode;
    }

    public String getCountryCode()
    {
        return countryCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("countryCn", getCountryCn())
                .append("countryEn", getCountryEn())
                .append("countryCode", getCountryCode())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}

